package com.mallcai.bigdata.ladon.controller.report.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Map;

/**
 * Created by oneape<oneape15@163.com>
 * Created 2019-07-26 16:44.
 * Modify:
 */
@Data
public class ReportQueryForm implements Serializable {
    @NotBlank(message = "报表编码为空", groups = {QueryCheck.class})
    private String              reportCode; // 报表编码
    private Map<String, Object> params;     // 查询参数
    private Integer             showSql;    // 是否展示SQL
    private String              action;     // 查询, 下载, 定制Job等

    public interface QueryCheck {
    }
}
